package com.amtf.datafile2.cfg.excel;

import com.amtf.datafile2.DataField;
import com.amtf.datafile2.cfg.std.StdDataFieldDefinition;
import com.amtf.datafile2.core.excel.ExcelDataField;

public class ExcelDataFieldDefinition extends StdDataFieldDefinition<ExcelDataTableDefinition> {

	public ExcelDataFieldDefinition(String name) {
		super(name);
	}

	public ExcelDataFieldDefinition(String name, ExcelDataTableDefinition tbDefinition) {
		super(name, tbDefinition);
	}

	@Override
	public ExcelDataFieldDefinition clone() {
		ExcelDataFieldDefinition newObj = new ExcelDataFieldDefinition(name);
		copyTo(newObj);
		return newObj;
	}

	public DataField newDataFieldInstance() {
		return new ExcelDataField(this);

	}

}
